﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NP.WebAPI.Models.Response
{
    /// <summary>
    ///  获取回收库关键词列表返回模型
    /// </summary>
    public class ResGetRecycleKeywordModel
    {
        /// <summary>
        /// 回收库关键词列表
        /// </summary>
        public List<RecycleKeywordModel> RecycleKeywordList;

        /// <summary>
        /// 分页大小
        /// </summary>
        public int PageSize { set; get; }

        /// <summary>
        /// 当前分页
        /// </summary>
        public int PageIndex { set; get; }

        /// <summary>
        ///  构造函数
        /// </summary>
        /// <param name="list">关键词列表</param>
        /// <param name="pageSize">分页大小</param>
        /// <param name="pageIndex">当前分页</param>
        public ResGetRecycleKeywordModel(List<RecycleKeywordModel> list,int pageSize, int pageIndex)
        {
            this.RecycleKeywordList = list;
            this.PageIndex = pageIndex;
            this.PageSize = pageSize;
        }
    }

    /// <summary>
    ///  获取回收库关键词模型
    /// </summary>
    public class RecycleKeywordModel
    {
        /// <summary>
        /// 关键词序号
        /// </summary>
        public Int64 XH { set; get; }

        /// <summary>
        /// 关键词编码
        /// </summary>
        public string KeywordCode { set; get; }

        /// <summary>
        /// 关键词名称
        /// </summary>
        public string KeywordName { set; get; }

        /// <summary>
        /// 关键词频次
        /// </summary>
        public int Frequency { set; get; }

        /// <summary>
        /// 学习阶段名称
        /// </summary>
        public string StudyName { set; get; }

        /// <summary>
        /// 水平级别名称 
        /// </summary>
        //public string levelname { set; get; }

        /// <summary>
        /// 关键词来源
        /// </summary>
        public int SourceFlag { set; get; }
    }
}